<?php

namespace app\admin\model;

use think\Model;

class User extends Model
{
    public function profile()
    {
        return $this->hasMany(
            Profile::class,
            'user_id',
            'id');
    }
}